/** 路由配置 */
const routes = [
  {
    path: '/productConfig/task',
    name: 'PCTask',
    component: () => import('@/views/productConfig/task/index'),
    meta: {
      keepAlive: true,
      title: '配置任务管理'
    },
    hidden: true
  },
  {
    path: '/productConfig/task/detail',
    name: 'PCTaskDetail',
    component: () => import('@/views/productConfig/task/detail'),
    meta: {
      title: '配置任务管理详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/task/handle',
    name: 'Handle',
    component: () => import('@/views/productConfig/task/handle'),
    meta: {
      title: '处理类型',
      showCrumb: true
    },
    hidden: true
  },
  {
    path: '/productConfig/task/add',
    name: 'ConfigList',
    component: () => import('@/views/productConfig/task/handle/configList'),
    meta: {
      title: '新增配置单',
      showCrumb: true
    },
    hidden: true
  },
  {
    path: '/productConfig/task/addConfig',
    name: 'AddConfig',
    component: () => import('@/views/productConfig/task/handle/addConfig'),
    meta: {
      title: '配置单新增',
      showCrumb: true
    },
    hidden: true
  },
  {
    path: '/productConfig/finished',
    name: 'PCFinished',
    component: () => import('@/views/productConfig/finished'),
    meta: {
      keepAlive: true,
      title: '成品配置'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/edit',
    name: 'PCFinishedConfigEdit',
    component: () => import('@/views/productConfig/finished/configEdit'),
    meta: {
      title: '成品配置单编辑'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/recommend',
    name: 'PCFinishedConfigEditRecommend',
    component: () => import('@/views/productConfig/finished/configEdit/recommend'),
    meta: {
      title: '选择推荐产品型号'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/batSelect',
    name: 'PCFinishedConfigEditBatSelect',
    component: () => import('@/views/productConfig/finished/configEdit/batSelect'),
    meta: {
      title: '批量选择产品清单'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/match',
    name: 'PCFinishedConfigEditMatch',
    component: () => import('@/views/productConfig/finished/configEdit/match'),
    meta: {
      title: '批量选择搭配产品行号'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/detail',
    name: 'PCFinishedDetail',
    component: () => import('@/views/productConfig/finished/detail'),
    meta: {
      title: '成品配置明细详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/finished/audit',
    name: 'PCFinishedAudit',
    component: () => import('@/views/productConfig/finished/audit'),
    meta: {
      title: '成品配置单据审核'
    },
    hidden: true
  },
  {
    path: '/productConfig/environment',
    name: 'PCEnvironment',
    component: () => import('@/views/productConfig/environment'),
    meta: {
      keepAlive: true,
      title: '环境成品配置管理'
    },
    hidden: true
  },
  {
    path: '/productConfig/environment/edit',
    name: 'PCEnvironmentConfigEdit',
    component: () => import('@/views/productConfig/environment/configEdit'),
    meta: {
      title: '环境成品配置'
    },
    hidden: true
  },
  {
    path: '/productConfig/environment/detail',
    name: 'PCEnvironmentDetail',
    component: () => import('@/views/productConfig/environment/detail'),
    meta: {
      title: '环境成品配置详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/environment/audit',
    name: 'PCEnvironmentAudit',
    component: () => import('@/views/productConfig/environment/audit'),
    meta: {
      title: '环境成品配置单据审核'
    },
    hidden: true
  },
  {
    path: '/productConfig/bathroom',
    name: 'PCBathroom',
    component: () => import('@/views/productConfig/bathroom'),
    meta: {
      keepAlive: true,
      title: '卫浴配置'
    },
    hidden: true
  },
  {
    path: '/productConfig/bathroom/edit',
    name: 'PCBathroomConfigEdit',
    component: () => import('@/views/productConfig/bathroom/configEdit'),
    meta: {
      title: '卫浴产品配置明细'
    },
    hidden: true
  },
  {
    path: '/productConfig/bathroom/detail',
    name: 'PCBathroomDetail',
    component: () => import('@/views/productConfig/bathroom/detail'),
    meta: {
      title: '卫浴产品配置详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/customization',
    name: 'PCCustomization',
    component: () => import('@/views/productConfig/customization'),
    meta: {
      keepAlive: true,
      title: '定制产品配置'
    },
    hidden: true
  },
  {
    path: '/productConfig/customization/edit',
    name: 'PCCustomizationConfigEdit',
    component: () => import('@/views/productConfig/customization/configEdit'),
    meta: {
      title: '定制产品配置编辑'
    },
    hidden: true
  },
  {
    path: '/productConfig/customization/detail',
    name: 'PCCustomizationDetail',
    component: () => import('@/views/productConfig/customization/detail'),
    meta: {
      title: '定制产品配置详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/decoration',
    name: 'PCDecoration',
    component: () => import('@/views/productConfig/decoration'),
    meta: {
      keepAlive: true,
      title: '饰品类产品配置'
    },
    hidden: true
  },
  {
    path: '/productConfig/decoration/edit',
    name: 'PCDecorationConfigEdit',
    component: () => import('@/views/productConfig/decoration/configEdit'),
    meta: {
      title: '新增资源/饰品配置单'
    },
    hidden: true
  },
  {
    path: '/productConfig/decoration/config',
    name: 'PCDecorationRDConfig',
    component: () => import('@/views/productConfig/decoration/configEdit/config'),
    meta: {
      title: '新增资源/饰品配置单'
    },
    hidden: true
  },
  {
    path: '/productConfig/decoration/detail',
    name: 'PCDecorationDetail',
    component: () => import('@/views/productConfig/decoration/detail'),
    meta: {
      title: '资源饰品详情'
    },
    hidden: true
  },
  {
    path: '/productConfig/decoration/orderDemand',
    name: 'PCOrderDemand',
    component: () => import('@/views/productConfig/decoration/orderDemand/index'),
    meta: {
      title: '订单处理'
    },
    hidden: true
  }
]
export default routes
